<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer"  content="webkit">
<title><{$sitename}></title>
<link rel="stylesheet" href="__STATIC__/tongycjs/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="__STATIC__/tongycjs/css/login.css?v=v1.1.6">
<script type="text/javascript" src="__STATIC__/tongycjs/js/jquery-1.12.4.min.js"></script>
</head>
<body>
<div class="user-login" >
	<div class="user-login-main">
		<div class="user-login-header">
			<h2>
 			网站管理中心
			</h2>
			<p>高效、简洁、企业网站管理系统</p>
		</div>
		
		<form action="<{:url('admin/login/checklog')}>"  onsubmit="return false" class="layui-form" id="dologin">
			<input type="hidden" name="formcheck" id="formcheck" value="<{$formcheck}>" > 
			<div class="user-login-box">
				<div class="layui-form-item">
					<label class="user-login-icon layui-icon layui-icon-username"></label>
					<input name="username" id="username" type="text" lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input">
				</div>
				<div class="layui-form-item">
					<label class="user-login-icon layui-icon layui-icon-password"></label>
					<input name="password" id="password" type="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
				</div>
				<{if condition="$check_code eq 1"}>
				<div class="layui-form-item">
					<div class="layui-row">
						<div class="layui-col-xs7 layui-col-sm8">
							<label class="user-login-icon layui-icon layui-icon-vercode" ></label>
							<input name="checkcode" id="checkcode" type="text" lay-verify="required" placeholder="验证码" autocomplete="off" class="layui-input">
						</div>
						<div class="layui-col-xs5 layui-col-sm4">
							<div style="margin-left: 10px;"> 
								<img title="点击刷新"  src="<{:captcha_src()}>" class="user-login-codeimg" id="ImgCode" onclick="document.getElementById('ImgCode').src='<{:captcha_src()}>?'+Math.random();" />
						    </div>
						</div>
					</div>
				</div>
				<{/if}>
				<div class="layui-form-item">
					<button class="layui-btn layui-btn-fluid" style="background-color: #3a609b;" lay-submit lay-filter="login-submit" >登 录</button>
				</div>
				<div style="color:red;" id="note"></div>
			</div>
		</form>
	</div>	
</div>
<script type="text/javascript" src="__STATIC__/tongycjs/layui/layui.all.js?v=v2.5.4"></script> 
<script type="text/javascript" src="__STATIC__/tongycjs/js/mylayui.js?v=v1.1.6"></script> 
<!-- 让IE8/9支持查询，从而兼容栅格 --> 
<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]--> 
</body>
</html>